html,
body {
  margin: 0;
  padding: 0;
}

// 创建超出文字省略并使用...
.exceed_omit {
  $number: getExceedOmitNum(&);
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: '#{$number}';
  line-clamp: '#{$number}';
}
// 创建1到5行的省略类名
@for $i from 1 through 5 {
  .exceed_omit_#{$i} {
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: #{$i};
    line-clamp: #{$i};
  }
}

.flex {
  display: flex;
}
.flex_warn {
  display: flex;
  flex-wrap: wrap;
}
// flex布局样式
.flex_center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex_between_center {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex_end_center {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.pointer {
  cursor: pointer;
}
// 创建原子类名
@for $i from 1 through 200 {
  $value: #{$i}px;
  .fs_#{$i} {
    font-size: $value;
  }
  .pl_#{$i} {
    padding-left: $value;
  }
  .pt_#{$i} {
    padding-top: $value;
  }
  .pr_#{$i} {
    padding-right: $value;
  }
  .pb_#{$i} {
    padding-bottom: $value;
  }
  .ml_#{$i} {
    margin-left: $value;
  }
  .mt_#{$i} {
    margin-top: $value;
  }
  .mr_#{$i} {
    margin-right: $value;
  }
  .mb_#{$i} {
    margin-bottom: $value;
  }
  .w_#{$i} {
    width: $value;
  }
  .h_#{$i} {
    height: $value;
  }
  .br_#{$i} {
    border-radius: $value;
  }
}
